/*
 * @Description: 
 * @Version: 2.0
 * @Autor: CQJ
 * @Date: 2021-11-16 10:51:15
 * @LastEditTime: 2021-12-27 09:08:57
 * @LastEditors: CQJ
 */
export const config = {
  baseUrl: import.meta.env.VITE_BASE_URL
    ? import.meta.env.VITE_BASE_URL + ""
    : "http://222.80.31.196:8099",
  imgUrl: import.meta.env.VITE_MAP_IMG_URL
    ? import.meta.env.VITE_MAP_IMG_URL + ""
    : "http://222.80.31.196:8099",
  vecUrl: import.meta.env.VITE_MAP_VEC_URL
    ? import.meta.env.VITE_MAP_VEC_URL + ""
    : "http://222.80.31.196:8099",
  locateUrl: import.meta.env.VITE_MAP_LOCATE_URL
    ? import.meta.env.VITE_MAP_LOCATE_URL + ""
    : "http://222.80.31.196:8099",
  map_preview_config: {
    apiKey:
      "AAPK590e3a9dbda4477ca96289d5e3c4678af7xD1dm5quLz4azZgw-3JHfNhWy3XEfO3FpqSwu8n6rwtKIiRwUNZwer6NkGGnSy",
    assetsPath: "/assets",
    fontsUrl: "/arcgisfont",
    baseMap:
      "http://10.10.24.31:6080/arcgis/rest/services/C_YGYX/CY_WXYX_BZ_CG29_2017_WP0/MapServer",
    //zoom: 13,
    //center: [-118.80543, 34.027],
    // center: [86.6, 40.7],
    zoom: 10,
  },
  rollerLeftLayer: {
    id: "leftLayerId",
    name: "2019年三调地类图斑",
    serviceUrl:
      "http://10.10.24.31:6080/arcgis/rest/services/T_LYXZ/TD_LYXT_SDSJ_BZ_2019_WP/MapServer",
    serviceType: 0, // 0 是瓦片  1是动态
  },
  rollerRightLayer: {
    id: "rightLayerId",
    name: "全州卫星影像",
    serviceUrl:
      "http://10.10.24.31:6080/arcgis/rest/services/C_YGYX/CY_WXYX_BZ_CG29_2017_WP0/MapServer",
    serviceType: 0, // 0 是瓦片  1是动态
  },

  system_prefix: "kjpt_",
};
